﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Parameters
{
    public class Parameters
    {
        /// <summary>
        /// 输入不定量的参数,用于数量的相加
        /// </summary>
        /// <param name="ints"></param>
        /// <returns></returns>
        public int ParamsInAdd(params int[] ints)
        {
            return ints.Sum();
        }
    }
}
